@echo off
echo intsaling...
python -m venv venv
call venv\Scripts\activate.bat
pip install -r requirements.txt

if not exist uploads (
    mkdir uploads
) else (
    echo uploads folder exists
)

if not exist model (
    mkdir model
) else (
    echo model folder exists
)

if not exist static\images (
    mkdir static\images
) else (
    echo static\images  folder exists
)

if not exist output (
    mkdir output
) else (
    echo output  folder exists
)

echo 安装完成！
pause 